/*Prepared Using STATA 16: September 16, 2023*/
/*Use STATA 16, create folders for Tables and Figures in main central director
install ritest, outreg2, and tabout to run
net install ritest.pkg
net install outreg2.pkg
net install tabout.pkg*/


/*Do Files
20230916_VNA_Master.do: Master .do file that runs all subsequent.do file from raw data to main analysis
20230915_VNA_Setup.do: .do file which open raw data, merges in supplementary datasets, translated Vietnamese variables, generates new variables, and provides coding and labels
20230916_VNA_Main.do: .do file that generates main figures and tables and other important numbers in body of manuscript
20230916_VNA_Appendices.do: .do file that generates all tables and figures for Supplementary Information (web appendix file)*/


/*Datasets
Final data - all phases v2.dta: Raw data from baseline and endline surveys
election_working.dta: Working data created by set-up do file that is used in main and appendix analysis
Undergrad major recoded.dta: Dataset to Merge: Major of Undergraduate Respondents
Questionnaire_order.dta: Dataset to Merge: Data to test impact of miscoded filtering pattern
ElectoralDistrictsV2.dta: Dataset to Merge: Data to test subgroup effects by electoral district
*/


cap cd ""


/*Set-up: Coding and Labeling of Variables to Crate Working Data*/
do 20230915_VNA_Setup.do


/*Main: Main Analysis in Paper: Tables 1-6 and Figure 6*/
do 20230915_VNA_Main.do


/*Appendices: Appendices C, D, E, G, H, I */
do 20230916_VNA_Appendices.do